Skip to content

Support model-based (/engineless) completions in openai cli #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 17, 2021

Conversation

rachellim
Copy link
Collaborator

This PR does several things:

  • Support engineless completions in the SDK/CLI. (Context: /v1/completions is now a thing. If the engine parameter is not supplied, we make requests to that path. Otherwise, if engine is provided, requests are made to /v1/engine/<ENGINE>/completions. We expect most users to still use engine right now.)
  • A few cosmetic improvements
  • Undocuments the timeout parameter on completions

* Engineless completions in the SDK

* Cosmetic improvements to fine tuning CLI

* Remove done TODO

* Raise error if neither engine nor model provided

* Undocument the `timeout` parameter on completions, because it doesn't do anything and causes user confusion.

* Move things around

* Update message

* Some day we should care about versions
@rachellim rachellim requested review from hallacy and emorikawa June 17, 2021 17:44
@@ -1 +1 @@
VERSION = "0.7.0"
VERSION = "0.7.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though we're still a 0.x, I tend to prefer using minor, instead of patch, as the version bump for new features. So 0.8.0

@rachellim rachellim merged commit 250c33d into main Jun 17, 2021
@rachellim rachellim deleted the rachel/model-based-completions branch June 17, 2021 18:01
pull bot referenced this pull request in mcx/openai-python Oct 10, 2021
* CLI cleanup

* Also support uploading files as a convenience to the user

* Events in the CLI (#23)

* Events in the CLI

* Update message about ctrl-c

* Version

* Forgot to use the api_base arg (#20)

* Forgot to use the api_base arg

* Bump version

* newline

Co-authored-by: hallacy <[email protected]>
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
* CLI cleanup

* Also support uploading files as a convenience to the user

* Events in the CLI (openai#23)

* Events in the CLI

* Update message about ctrl-c

* Version

* Forgot to use the api_base arg (openai#20)

* Forgot to use the api_base arg

* Bump version

* newline

Co-authored-by: hallacy <[email protected]>
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
* Support model-based (/engineless) completions in openai cli (openai#31)

* Engineless completions in the SDK

* Cosmetic improvements to fine tuning CLI

* Remove done TODO

* Raise error if neither engine nor model provided

* Undocument the `timeout` parameter on completions, because it doesn't do anything and causes user confusion.

* Move things around

* Update message

* Some day we should care about versions

* Minor version bump
safa0 pushed a commit to safa0/openai-agents-python that referenced this pull request Apr 27, 2025
Add callout on compatibility w other providers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants